Skip to content

fix: Show feedback form from shake or screenshot without widget#8050

Merged
denrase merged 6 commits into
mainfrom
fix/use-fallback-presenter-for-feedback-triggers
Jun 15, 2026
Merged

fix: Show feedback form from shake or screenshot without widget#8050
denrase merged 6 commits into
mainfrom
fix/use-fallback-presenter-for-feedback-triggers

Conversation

@denrase

@denrase denrase commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

📜 Description

Fix User Feedback shake and screenshot triggers when no managed widget presenter is available by falling back to the active app presenter.

💡 Motivation and Context

Closes #8023

💚 How did you test it?

Added unit tests.

📝 Checklist

You have to check all boxes before merging:

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • If I added a new public API, I also added it to the SentryObjC wrapper.

denrase added 3 commits June 12, 2026 13:35
Fix User Feedback shake and screenshot triggers when no managed widget presenter is available by falling back to the active app presenter.
@denrase denrase marked this pull request as ready for review June 12, 2026 11:42
@denrase denrase added the ready-to-merge Use this label to trigger all PR workflows label Jun 12, 2026
@sentry

sentry Bot commented Jun 12, 2026

Copy link
Copy Markdown

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
SDK-Size io.sentry.sample.SDK-Size 9.17.1 (1) Release

⚙️ sentry-cocoa Build Distribution Settings

@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.617%. Comparing base (36c25b3) to head (b97e3ca).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...Feedback/SentryUserFeedbackIntegrationDriver.swift 83.333% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #8050       +/-   ##
=============================================
+ Coverage   87.401%   87.617%   +0.216%     
=============================================
  Files          559       559               
  Lines        32170     32174        +4     
  Branches     13156     13165        +9     
=============================================
+ Hits         28117     28190       +73     
+ Misses        4004      3937       -67     
+ Partials        49        47        -2     
Files with missing lines Coverage Δ
...Feedback/SentryUserFeedbackIntegrationDriver.swift 83.471% <83.333%> (+28.386%) ⬆️

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 36c25b3...b97e3ca. Read the comment docs.

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1230.81 ms 1261.86 ms 31.05 ms
Size 24.14 KiB 1.18 MiB 1.15 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
36c25b3 1229.10 ms 1255.83 ms 26.73 ms
16c51a6 1205.88 ms 1242.82 ms 36.94 ms
0a8fa8a 1230.72 ms 1261.64 ms 30.91 ms
69745fc 1226.70 ms 1259.72 ms 33.02 ms
09627e8 1223.68 ms 1261.95 ms 38.27 ms
1c5ecda 1219.35 ms 1253.76 ms 34.41 ms
7d833a3 1226.72 ms 1263.42 ms 36.70 ms
bc68ff6 1227.02 ms 1254.89 ms 27.87 ms
ba824fc 1212.75 ms 1244.29 ms 31.54 ms
1aa0a18 1225.33 ms 1255.65 ms 30.31 ms

App size

Revision Plain With Sentry Diff
36c25b3 24.14 KiB 1.18 MiB 1.16 MiB
16c51a6 24.14 KiB 1.17 MiB 1.15 MiB
0a8fa8a 24.14 KiB 1.18 MiB 1.15 MiB
69745fc 24.14 KiB 1.15 MiB 1.13 MiB
09627e8 24.14 KiB 1.17 MiB 1.14 MiB
1c5ecda 24.14 KiB 1.15 MiB 1.12 MiB
7d833a3 24.14 KiB 1.16 MiB 1.13 MiB
bc68ff6 24.14 KiB 1.16 MiB 1.14 MiB
ba824fc 24.14 KiB 1.17 MiB 1.15 MiB
1aa0a18 24.14 KiB 1.18 MiB 1.15 MiB

Previous results on branch: fix/use-fallback-presenter-for-feedback-triggers

Startup times

Revision Plain With Sentry Diff
f4fa35e 1230.52 ms 1265.07 ms 34.55 ms

App size

Revision Plain With Sentry Diff
f4fa35e 24.14 KiB 1.18 MiB 1.15 MiB

@denrase denrase enabled auto-merge (squash) June 15, 2026 12:00
@denrase denrase merged commit 70e2dea into main Jun 15, 2026
252 of 254 checks passed
@denrase denrase deleted the fix/use-fallback-presenter-for-feedback-triggers branch June 15, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Use this label to trigger all PR workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decouple feedback triggers from widget presenter

2 participants